<div class="ciusubjects view">
<h2><?php  __('Ciusubject');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Código asignatura'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciusubject['Ciusubject']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nombre asignatura'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciusubject['Ciusubject']['name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Asignatura prerequisito'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciusubject['Ciusubject']['prerequisite']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ciulanguage'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($ciusubject['Ciulanguage']['name'], array('controller' => 'ciulanguages', 'action' => 'view', $ciusubject['Ciulanguage']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Presencial'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciusubject['Ciusubject']['presencial']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Extra'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciusubject['Ciusubject']['extra']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Level'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciusubject['Ciusubject']['level']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<!--<div class="related">
	<h3><?php __('Related Ciucourses');?></h3>
	<?php if (!empty($ciusubject['Ciucourse'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Ciulanguage Id'); ?></th>
		<th><?php __('Ciulevel Id'); ?></th>
		<th><?php __('Ciutimetable Id'); ?></th>
		<th><?php __('Ciuroom Id'); ?></th>
		<th><?php __('Ciuuser Id'); ?></th>
		<th><?php __('Ciucoursestate Id'); ?></th>
		<th><?php __('Ciuacademicperiod Id'); ?></th>
		<th><?php __('Ciusubject Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($ciusubject['Ciucourse'] as $ciucourse):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ciucourse['id'];?></td>
			<td><?php echo $ciucourse['ciulanguage_id'];?></td>
			<td><?php echo $ciucourse['ciulevel_id'];?></td>
			<td><?php echo $ciucourse['ciutimetable_id'];?></td>
			<td><?php echo $ciucourse['ciuroom_id'];?></td>
			<td><?php echo $ciucourse['ciuuser_id'];?></td>
			<td><?php echo $ciucourse['ciucoursestate_id'];?></td>
			<td><?php echo $ciucourse['ciuacademicperiod_id'];?></td>
			<td><?php echo $ciucourse['ciusubject_id'];?></td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Ciucourse Ciustudents');?></h3>
	<?php if (!empty($ciusubject['CiucourseCiustudent'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Ciucourse Id'); ?></th>
		<th><?php __('Ciuuser Id'); ?></th>
		<th><?php __('Score1'); ?></th>
		<th><?php __('Score2'); ?></th>
		<th><?php __('Score3'); ?></th>
		<th><?php __('Score4'); ?></th>
		<th><?php __('Total Score'); ?></th>
		<th><?php __('Ciusubject Id'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th><?php __('Ciucurspersstate Id'); ?></th>
		<th><?php __('Ciustudenttype Id'); ?></th>
		<th><?php __('Payment Date'); ?></th>
		<th><?php __('Transaction Number'); ?></th>
		<th><?php __('Payment Cost'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($ciusubject['CiucourseCiustudent'] as $ciucourseCiustudent):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ciucourseCiustudent['id'];?></td>
			<td><?php echo $ciucourseCiustudent['ciucourse_id'];?></td>
			<td><?php echo $ciucourseCiustudent['ciuuser_id'];?></td>
			<td><?php echo $ciucourseCiustudent['score1'];?></td>
			<td><?php echo $ciucourseCiustudent['score2'];?></td>
			<td><?php echo $ciucourseCiustudent['score3'];?></td>
			<td><?php echo $ciucourseCiustudent['score4'];?></td>
			<td><?php echo $ciucourseCiustudent['total_score'];?></td>
			<td><?php echo $ciucourseCiustudent['ciusubject_id'];?></td>
			<td><?php echo $ciucourseCiustudent['created'];?></td>
			<td><?php echo $ciucourseCiustudent['modified'];?></td>
			<td><?php echo $ciucourseCiustudent['ciucurspersstate_id'];?></td>
			<td><?php echo $ciucourseCiustudent['ciustudenttype_id'];?></td>
			<td><?php echo $ciucourseCiustudent['payment_date'];?></td>
			<td><?php echo $ciucourseCiustudent['transaction_number'];?></td>
			<td><?php echo $ciucourseCiustudent['payment_cost'];?></td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="related">
	<h3><?php __('Related Ciuplans');?></h3>
	<?php if (!empty($ciusubject['Ciuplan'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($ciusubject['Ciuplan'] as $ciuplan):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ciuplan['id'];?></td>
			<td><?php echo $ciuplan['name'];?></td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>-->
